package cn.nfwx.tv.widget;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.LinearLayout;

import cn.nfwx.tv.util.LogUtil;

public class ItemChannel extends LinearLayout {
    public ItemChannel(Context context) {
        super(context);
    }

    public ItemChannel(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public ItemChannel(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        LogUtil.v("NfwxVideoPlayerController", "onInterceptTouchEvent---ItemChannel");
        return true;
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        LogUtil.v("NfwxVideoPlayerController", "onTouchEvent---ItemChannel");
        super.onTouchEvent(event);
        return true;
    }
}
